{"id":{"repo_id":"nanyang","oai_identifier":"oai:dr.ntu.edu.sg:10356/205257"},"canonical_url":"https://search.ndltd.org/etd/nanyang/oai:dr.ntu.edu.sg:10356/205257","repository":{"repo_id":"nanyang","name":"Nanyang Technological University","base_url":"https://dr.ntu.edu.sg/oai/request"},"display":{"title":"Knowledge distillation for building task-specific LLM","abstract":"This study addresses the challenges of high training costs, data scarcity, and unstable reasoning in medical question answering (MedQA) by proposing a two-stage task-specific knowledge distillation framework. In the first stage, text-level distillation transfers medical knowledge and answer patterns from the teacher model through soft targets, improving data efficiency and language generation. The second stage performs intermediate-layer distillation, aligning semantic representations and reasoning processes to enhance generalization and robustness. Experiments show that the student model achieves higher BLEU and BERTScore after both stages, confirming effective semantic transfer. The quantized student model maintains only 12.6 GB memory usage and about 5 tokens/s inference speed—much lighter than the fp16 teacher model—while preserving strong reasoning ability. Overall, this approach achieves a practical trade-off between performance and efficiency, enabling reliable MedQA systems under limited computational resources.","abstract_html":"This study addresses the challenges of high training costs, data scarcity, and unstable reasoning in medical question answering (MedQA) by proposing a two-stage task-specific knowledge distillation framework. In the first stage, text-level distillation transfers medical knowledge and answer patterns from the teacher model through soft targets, improving data efficiency and language generation. The second stage performs intermediate-layer distillation, aligning semantic representations and reasoning processes to enhance generalization and robustness. Experiments show that the student model achieves higher BLEU and BERTScore after both stages, confirming effective semantic transfer. The quantized student model maintains only 12.6 GB memory usage and about 5 tokens/s inference speed—much lighter than the fp16 teacher model—while preserving strong reasoning ability. Overall, this approach achieves a practical trade-off between performance and efficiency, enabling reliable MedQA systems under limited computational resources.","abstract_has_math":false,"creators":["Wang, Ziyu"],"institution":"Nanyang Technological University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":"School of Electrical and Electronic Engineering","contributors":[],"advisors":["Mao Kezhi"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-27T08:08:30Z","subjects":["Engineering"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10356/205257","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10356/205257","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Ananyang%3Aoai%3Adr.ntu.edu.sg%3A10356%2F205257","prefix":"oai_dc"},"source_record":{"url":"https://dr.ntu.edu.sg/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adr.ntu.edu.sg%3A10356%2F205257","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.school","label":"School","values":["School of Electrical and Electronic Engineering"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["Mao Kezhi"]},{"key":"dc:creator","label":"Author","values":["Wang, Ziyu"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-12-29T11:21:50Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-12-29T11:21:50Z"]},{"key":"dc:date.issued","label":"Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["Nanyang Technological University"]},{"key":"dc:type","label":"Dc Type","values":["Thesis-Master by Coursework"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Engineering"]},{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["Knowledge Distillation"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10356/205257"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"9d4ecba0-ec0a-4daf-b0ff-d87aa327d0d4\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>Knowledge distillation for building task-specific LLM</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2025</PublicationDate> <Authors> <Author> <DisplayName>Wang, Ziyu</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Engineering</Keyword> <Abstract>This study addresses the challenges of high training costs, data scarcity, and unstable reasoning in medical question answering (MedQA) by proposing a two-stage task-specific knowledge distillation framework. In the first stage, text-level distillation transfers medical knowledge and answer patterns from the teacher model through soft targets, improving data efficiency and language generation. The second stage performs intermediate-layer distillation, aligning semantic representations and reasoning processes to enhance generalization and robustness. Experiments show that the student model achieves higher BLEU and BERTScore after both stages, confirming effective semantic transfer. The quantized student model maintains only 12.6 GB memory usage and about 5 tokens/s inference speed—much lighter than the fp16 teacher model—while preserving strong reasoning ability. Overall, this approach achieves a practical trade-off between performance and efficiency, enabling reliable MedQA systems under limited computational resources.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description.abstract","label":"Abstract","values":["This study addresses the challenges of high training costs, data scarcity, and unstable reasoning in medical question answering (MedQA) by proposing a two-stage task-specific knowledge distillation framework. In the first stage, text-level distillation transfers medical knowledge and answer patterns from the teacher model through soft targets, improving data efficiency and language generation. The second stage performs intermediate-layer distillation, aligning semantic representations and reasoning processes to enhance generalization and robustness. Experiments show that the student model achieves higher BLEU and BERTScore after both stages, confirming effective semantic transfer. The quantized student model maintains only 12.6 GB memory usage and about 5 tokens/s inference speed—much lighter than the fp16 teacher model—while preserving strong reasoning ability. Overall, this approach achieves a practical trade-off between performance and efficiency, enabling reliable MedQA systems under limited computational resources."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Master's degree"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Knowledge distillation for building task-specific LLM"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"9d4ecba0-ec0a-4daf-b0ff-d87aa327d0d4\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>Knowledge distillation for building task-specific LLM</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2025</PublicationDate> <Authors> <Author> <DisplayName>Wang, Ziyu</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Nanyang Technological University</DisplayName> <OrgUnit /> </Publisher> </Publishers> <Keyword>Engineering</Keyword> <Abstract>This study addresses the challenges of high training costs, data scarcity, and unstable reasoning in medical question answering (MedQA) by proposing a two-stage task-specific knowledge distillation framework. In the first stage, text-level distillation transfers medical knowledge and answer patterns from the teacher model through soft targets, improving data efficiency and language generation. The second stage performs intermediate-layer distillation, aligning semantic representations and reasoning processes to enhance generalization and robustness. Experiments show that the student model achieves higher BLEU and BERTScore after both stages, confirming effective semantic transfer. The quantized student model maintains only 12.6 GB memory usage and about 5 tokens/s inference speed—much lighter than the fp16 teacher model—while preserving strong reasoning ability. Overall, this approach achieves a practical trade-off between performance and efficiency, enabling reliable MedQA systems under limited computational resources.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.school":["School of Electrical and Electronic Engineering"],"dc:contributor.supervisor":["Mao Kezhi"],"dc:creator":["Wang, Ziyu"],"dc:date.accessioned":["2025-12-29T11:21:50Z"],"dc:date.available":["2025-12-29T11:21:50Z"],"dc:date.issued":["2025"],"dc:description.abstract":["This study addresses the challenges of high training costs, data scarcity, and unstable reasoning in medical question answering (MedQA) by proposing a two-stage task-specific knowledge distillation framework. In the first stage, text-level distillation transfers medical knowledge and answer patterns from the teacher model through soft targets, improving data efficiency and language generation. The second stage performs intermediate-layer distillation, aligning semantic representations and reasoning processes to enhance generalization and robustness. Experiments show that the student model achieves higher BLEU and BERTScore after both stages, confirming effective semantic transfer. The quantized student model maintains only 12.6 GB memory usage and about 5 tokens/s inference speed—much lighter than the fp16 teacher model—while preserving strong reasoning ability. Overall, this approach achieves a practical trade-off between performance and efficiency, enabling reliable MedQA systems under limited computational resources."],"dc:description.degree":["Master's degree"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10356/205257"],"dc:language.iso":["en"],"dc:publisher":["Nanyang Technological University"],"dc:subject":["Engineering"],"dc:subject.keyword":["Knowledge Distillation"],"dc:title":["Knowledge distillation for building task-specific LLM"],"dc:type":["Thesis-Master by Coursework"],"dspace:entity.type":["Publication"]},"updated_at":"2026-11-27T08:08:30Z"}