RISS 학술연구정보서비스

검색

인기 검색어

    다국어 입력

    http://chineseinput.net/에서 pinyin(병음)방식으로 중국어를 변환할 수 있습니다.

    변환된 중국어를 복사하여 사용하시면 됩니다.

    예시)
    • 中文 을 입력하시려면 zhongwen을 입력하시고 space를누르시면됩니다.
    • 北京 을 입력하시려면 beijing을 입력하시고 space를 누르시면 됩니다.
    닫기

    경량 언어 모델에서 의미적 연결 향상을 위한 Text-to-SQL 방법 = A Text-to-SQL Framework for Enhancing Schema Linking in SLM

    한글로보기

    https://www.riss.kr/link?id=T17393037

    • 저자
    • 발행사항

      대구 : 경북대학교 대학원, 2026

    • 학위논문사항

      학위논문 (석사) -- 경북대학교 대학원 , 컴퓨터학부 , 2026. 2

    • 발행연도

      2026

    • 작성언어

      한국어

    • 주제어
    • DDC

      005.72 판사항(23)

    • 발행국(도시)

      대구

    • 형태사항

      iv, 54 p. : 삽화, 도표 ; 26 cm

    • 일반주기명

      지도교수: 서영균
      참고문헌 수록

    • UCI식별코드

      I804:22001-000000111393

    • 소장기관
      • 경북대학교 중앙도서관 소장기관정보
    • 0

      상세조회
    • 0

      다운로드
    서지정보 열기
    • 내보내기
    • 내책장담기
    • 공유하기
      • URL 복사
    • 오류접수
    인용문이 복사되었습니다.

    부가정보

    다국어 초록 (Multilingual Abstract) kakao i 다국어 번역

    Text-to-SQL research focuses on translating natural language queries into SQL, reducing the time and cost of data access. While recent studies have achieved high accuracy using large-scale models like GPT-4, these approaches neglect resource constraints, limiting practical deployment on end-user environments where fast inference and low latency are critical.
    To address these challenges and deliver an optimized solution for end-user environments, this thesis proposes URFine (Understanding Relations via Fine-tuning), a Supervised Fine-Tuning framework designed to enhance the Text-to-SQL performance of SLMs. The URFine framework systematically optimizes the model through a process that includes prompt structure selection, database schema extraction, and supervised fine-tuning. This study verifies the effectiveness of URFine using the Spider dataset, employing both execution accuracy and total inference time as key evaluation metrics to assess time efficiency.
    The experimental results demonstrate significant improvements in both accuracy and efficiency. First, comparing the model before and after supervised fine-tuning revealed that fine-tuning improved accuracy by up to 3 times and time efficiency by up to 11 times compared to the base model. This confirms that supervised fine-tuning is essential for maximizing the inference capabilities of lightweight LLMs.
    Furthermore, this thesis identifies the optimal prompt structure for SLMs by analyzing three distinct configurations: Full (role-playing with full schema), Intermediate (role-playing with extracted schema), and Minimal (extracted schema without role-playing). The results indicate that the Minimal structure yields the highest performance, achieving 1.4 times higher accuracy and time efficiency compared to the Full structure. This finding proves that while role-playing and extensive context benefit large models, they act as noise for SLM. Instead, removing unnecessary role assignments and providing only the relevant extracted schema is the most effective strategy.
    In a comprehensive comparison with existing Text-to-SQL research, URFine achieved up to a 67-fold improvement in accuracy and a 19-fold improvement in time efficiency. These results highlight that the example-based and role-playing techniques effective for GPT-4 often degrade the performance of SLM.
    The contributions of this thesis are as follows:
    Introduction of Time Efficiency Metrics: It systematically analyzes the Text-to-SQL process by adopting total elapsed time as a core metric, which was overlooked in prior studies.
    Optimization of Prompt Structure: It proves that for SLM, excluding role assignment and focusing on precise schema extraction significantly contributes to performance, contrary to practices for large models.
    Development of URFine Pipeline: It demonstrates that the proposed supervised fine-tuning pipeline drastically enhances accuracy and speed in constrained environments.
    Analysis of Lightweight Model Characteristics: It provides a theoretical analysis of why conventional large-model techniques fail on SLM, offering a practical framework for future mobile AI research.
    번역하기

    Text-to-SQL research focuses on translating natural language queries into SQL, reducing the time and cost of data access. While recent studies have achieved high accuracy using large-scale models like GPT-4, these approaches neglect resource constrain...

    Text-to-SQL research focuses on translating natural language queries into SQL, reducing the time and cost of data access. While recent studies have achieved high accuracy using large-scale models like GPT-4, these approaches neglect resource constraints, limiting practical deployment on end-user environments where fast inference and low latency are critical.
    To address these challenges and deliver an optimized solution for end-user environments, this thesis proposes URFine (Understanding Relations via Fine-tuning), a Supervised Fine-Tuning framework designed to enhance the Text-to-SQL performance of SLMs. The URFine framework systematically optimizes the model through a process that includes prompt structure selection, database schema extraction, and supervised fine-tuning. This study verifies the effectiveness of URFine using the Spider dataset, employing both execution accuracy and total inference time as key evaluation metrics to assess time efficiency.
    The experimental results demonstrate significant improvements in both accuracy and efficiency. First, comparing the model before and after supervised fine-tuning revealed that fine-tuning improved accuracy by up to 3 times and time efficiency by up to 11 times compared to the base model. This confirms that supervised fine-tuning is essential for maximizing the inference capabilities of lightweight LLMs.
    Furthermore, this thesis identifies the optimal prompt structure for SLMs by analyzing three distinct configurations: Full (role-playing with full schema), Intermediate (role-playing with extracted schema), and Minimal (extracted schema without role-playing). The results indicate that the Minimal structure yields the highest performance, achieving 1.4 times higher accuracy and time efficiency compared to the Full structure. This finding proves that while role-playing and extensive context benefit large models, they act as noise for SLM. Instead, removing unnecessary role assignments and providing only the relevant extracted schema is the most effective strategy.
    In a comprehensive comparison with existing Text-to-SQL research, URFine achieved up to a 67-fold improvement in accuracy and a 19-fold improvement in time efficiency. These results highlight that the example-based and role-playing techniques effective for GPT-4 often degrade the performance of SLM.
    The contributions of this thesis are as follows:
    Introduction of Time Efficiency Metrics: It systematically analyzes the Text-to-SQL process by adopting total elapsed time as a core metric, which was overlooked in prior studies.
    Optimization of Prompt Structure: It proves that for SLM, excluding role assignment and focusing on precise schema extraction significantly contributes to performance, contrary to practices for large models.
    Development of URFine Pipeline: It demonstrates that the proposed supervised fine-tuning pipeline drastically enhances accuracy and speed in constrained environments.
    Analysis of Lightweight Model Characteristics: It provides a theoretical analysis of why conventional large-model techniques fail on SLM, offering a practical framework for future mobile AI research.

    더보기

    목차 (Table of Contents)

    • Ⅰ. 서 론 1
    • Ⅱ. 관련 연구 7
    • 2.1. 문맥 기반 학습 연구 7
    • 2.2. 지도 미세 조정 연구 9
    • Ⅲ. 문제 정의 13
    • Ⅰ. 서 론 1
    • Ⅱ. 관련 연구 7
    • 2.1. 문맥 기반 학습 연구 7
    • 2.2. 지도 미세 조정 연구 9
    • Ⅲ. 문제 정의 13
    • Ⅳ. 제안하는 프레임워크: URFine 15
    • 4.1. 제안하는 지도 미세 조정 방법론 구조 15
    • 4.2. 프롬프트 구조 선정 단계 16
    • 4.3. 스키마 컬럼 추출 단계 20
    • 4.4. 지도 미세 조정 단계 22
    • 4.5. 추론 및 결과 후처리 단계 22
    • Ⅴ. 실험 결과 25
    • 5.1. 환경 설정 25
    • 5.1.1. 실험 환경 26
    • 5.1.2. 활용한 경량 LLM 모델 26
    • 5.1.3. 학습 시 파라미터 설정 26
    • 5.1.4. 데이터셋 27
    • 5.1.5. 평가 지표 28
    • 5.2. 성능 평가 결과 29
    • 5.2.1. 지도 미세 조정 전후 정확도, 소요 시간 비교 29
    • 5.2.2. 프롬프트 구조 간 정확도, 소요 시간 비교 36
    • 5.2.3. 기존 연구와 정확도, 소요 시간 비교 38
    • Ⅵ. 결론 44
    • Ⅶ. 향후 연구 46
    • 참고 문헌 48
    더보기

    분석정보

    View

    상세정보조회

    0

    Usage

    원문다운로드

    0

    대출신청

    0

    복사신청

    0

    EDDS신청

    0

    동일 주제 내 활용도 TOP

    더보기

    주제

    연도별 연구동향

    연도별 활용동향

    연관논문

    연구자 네트워크맵

    공동연구자 (7)

    유사연구자 (20) 활용도상위20명

    이 자료와 함께 이용한 RISS 자료

    나만을 위한 추천자료

    해외이동버튼