← Knowledge base

Diary

Short updates on what I’ve been working on, learning, and trying lately.

  1. Taking my research story to Jiang’an

    At the Jiang’an student exchange, I shared how I went from solving problems with known answers to asking questions of my own. I talked about my first software contest, the lab rotations that let me see what research looked like up close, and the Qingma senior who showed me how to write my first emails to potential advisers. My first paper was the milestone, but what I most wanted to share was how many chances I had to try before I had anything to show.

    Seeing the robots in person made my current work on on-device AI feel more concrete. How quickly can a robot react, how reliably can it run, and how much can it remember with the hardware it carries? I also got to see a side of innovation I don’t usually encounter in the lab: what it takes to help an idea find its footing outside campus.

    Read the final speech in Chinese (PDF)

  2. From solving problems to doing research

    I worked on a short talk for tomorrow’s student visit to Jiang’an. My first paper is part of the story, but I wanted to spend more time on how I got there: starting with problems someone else had set, then learning to ask my own questions and figure out what would count as an answer.

    When I started college, the online CS Self-Study Guide showed me how much I could learn outside class. I didn’t place in my first Huawei software contest, but trying to turn an idea into a program that actually ran showed me what I still needed to learn. In a later contest, I spent about 20 days getting one task to run on my own. At the final, with guidance from the organizers and an AI coding assistant, I finished a different task in four hours. They weren’t comparable tasks, but the contrast reminded me that working hard and asking for help aren’t opposites.

    The Turing class lab rotations let me see what different research groups actually did before I had a project of my own. A senior student in the Qingma science and innovation program showed me how to reach out to advisers. Later, in Prof. Tao Hu’s group, I learned that running an experiment isn’t the same as knowing which one is worth running. Those conversations shaped my first paper, which asks whether an image model can do better by redoing only part of its work. The paper was recently accepted to AAAI 2027.

    Preparing the talk made me think about what helped me get started: support from my school for trying competitions and research, people willing to guide me before I had anything to show, and now a chance through Wuhan and Jiang’an to see what people are building outside campus. Some of the things I learned most from were the ones I tried before I knew what I’d get out of them.

  3. Hot pot with classmates

    At a Loop Transformer meeting this afternoon, we talked about how to make inference faster on phones while keeping memory use and answer quality in check. I also looked into how mobile NPUs handle dynamic workloads.

    I went to 京之了 for hot pot with my classmates tonight. It was really good and didn’t cost much, either.

    A hot pot table with two broths, sliced meat, and dipping sauces
  4. My first bouquet

    I got flowers from 🍑🍐 today. It was the first time anyone had given me flowers, and the bouquet smelled so good. The last few days have been exciting, and I want to enjoy that without getting complacent. It’s time to give the next project my full attention.

    A bouquet of white and pale blue flowers with a congratulatory card

    I spent the afternoon on an operating systems lab. It was pretty challenging. I felt a bit tired later and kept my run to 400 meters.

    I worked on a short write-up about the AAAI acceptance and updated my CV and the paper’s pages on my website. I also moved 27 posts from my old ACM training blog into the site’s knowledge base. It was nice to see those old contest notes in the same place as what I’m working on now.

    At a lab meeting tonight, I kept thinking about a point that came up: university doesn’t work quite like school exams, where the result of an afternoon’s study can feel fairly predictable. Some things you try have value you won’t see until later. I don’t have to know exactly what I’ll get out of something before deciding it’s worth trying. Professor He also stressed taking care of our health and getting better at presenting our work. I agreed with both points, and I found him really engaging to listen to.

    I’m planning to attend AAAI in February. I want to spend more time on spoken English and listening, practice presenting my work, and be more deliberate about how I present myself.

    I subscribed to Google AI Pro today and plan to bring Gemini and Antigravity into my workflow.

  5. One pass, fewer reads

    The best news today was that my paper was accepted to AAAI 27! I was in such a good mood that I went for a 2 km run in the evening. I’d like to make running a habit again. I feel more at ease now, and I’m looking forward to doing research at a steadier, more deliberate pace.

    I read Jeveration and looked past the headline speedup to see how it generates an image in one pass. The part that stuck with me was how shared randomness lets parallel predictions agree on the same image, with discrete image codes linking those predictions to the decoder.

    I also worked through the core logic of speculative decoding and read PACKLOOP’s first figure. It made a useful distinction for my on-device work: doing more token computations in a batch is not the same as reading the KV cache more times. Packing candidates into a read that already has to happen is a different way to make decoding cheaper.

  6. A small RNN and a networking lab

    I looked into whether a small recurrent neural network would be a practical first model to run on a Nexys A7 FPGA.

    In the networking lab, I looked into a virtual interface conflict in Mininet and looked at what happens when a switch disconnects from the controller. That got me thinking about how event-driven controllers work in C and C++ compared with Python.

  7. What changes on another pass?

    I went back to the basics of a Transformer block: what attention does, why there’s also a feed-forward network, and how a gate learns to amplify or suppress parts of its input.

    I also looked into sparse attention in FlashLoop. Reading about low-rank changes in the KV cache left me with another question: do the hidden states change in just a few directions in later passes, and could that make those passes cheaper?

    Weekly word cloud

    This recap draws on the six published entries for November 23–29. Looped Transformers were the thread running through the week, from cache reuse and quantization to what changes in a later pass. There was also the Theory of Computation exam and an evening of League of Legends. Word sizes reflect emphasis rather than exact counts.

    Weekly word cloud for November 23–29. Looped Transformers is the largest phrase. KV cache, hidden states and quantization are prominent, with sparse attention, on-device inference, gating, Theory of Computation, improved Euler and League of Legends also shown.

  8. Quantizing a looped Transformer

    I went back through my research meeting notes and pulled out the main points and next steps for on-device inference. One question kept coming up for me: when a model reuses the same weights, how much of the quantization error carries into the next pass?

    I looked at LoopQuant for a different angle on that question. The weights are shared, but the activations change from pass to pass. That makes choosing the right precision for each pass part of the problem.

  9. What looped models carry forward

    I looked into how Inkling 2 Mini repeats its middle layers. Along the way, I reviewed what mixture-of-experts models and pruning do.

    I also looked at two ways to reuse hidden states. LoopRes lets a layer attend to outputs from earlier passes through the loop, while Attention Latent Feedback lets the current token draw on deeper layers from the previous token.

    In the evening, I played a bunch of League of Legends with a friend and had a blast.

  10. Bandwidth and cache reuse on phones

    I went back to WaveFront Decoding and LoopCache to see how they approach decoding in looped Transformers. I also looked into GLM-5.4’s loop architecture.

    For on-device inference, I wondered if offloading weights one layer at a time could use enough shared memory bandwidth to make the phone feel sluggish. I also wondered how much the hidden states change when the same layer runs again, and whether I could reuse the KV cache across passes.

  11. Euler convergence and LoopCache

    I studied the convergence proof for the improved Euler method, focusing on where the Lipschitz condition comes in. I also looked into LoopCache and asked whether its approach depends on repeating whole blocks rather than individual layers.

    I’ve slept really well the past two nights.

  12. This week in the journal

    I spent the first half of the day reviewing Theory of Computation. In the evening, I took my ride in for a repair and had malatang at Zhang Liang afterward. I also picked up the flute again and felt pretty rusty.

    Weekly word cloud

    This recap draws on the seven published entries for November 16–22. On-device inference was the recurring theme, alongside coursework, a morning hike, games with friends, and picking up the flute again. Related terms are grouped, and their size reflects the emphasis of the week rather than exact counts.

    Weekly word cloud for November 16–22. On-device inference is most prominent, followed by Loop Transformer, model folding, and Numerical Analysis. Smaller terms include memory traffic, Theory of Computation, Ouro, openEuler, llama.cpp, hiking, flute, and ARAM: Mayhem.

  13. A morning hike

    I went hiking in the morning and had lunch with friends around two. I took a nap afterward and started reviewing Theory of Computation at five. I also spent a little time working on getting Loop Transformers to run better on-device.

    In the evening, I played three hours of ARAM: Mayhem in League of Legends with friends and had a blast.

    Partial ARAM: Mayhem match history dated November 21 and 22, showing four wins and three losses. Me hiking up a wooded trail, with other hikers blurred in the background.
  14. Computing Power: The Foundation of AI

    The Numerical Analysis quiz this morning was tricky. It took me a while to find an approach. I spent much of the rest of the day reviewing decidability and NP-completeness, and both were tough going.

    In the evening, I gave a talk called “Computing Power: The Foundation of AI” to the supercomputing team. I compared desktop and data-center GPUs with phone and edge accelerators. Peak compute only tells part of the story: memory capacity, bandwidth, and the software stack also shape how well a model runs.

    I also got some preliminary results from running a folded model on-device. It saved space, but inference was slower. So far, the savings don’t justify the slowdown.

    Download the slides: Computing Power: The Foundation of AI (PowerPoint)

    Preview slides 61 slides

  15. Exploring model folding

    I shared an update on my Loop Transformer experiments. On a phone, I compared looping through the whole stack with repeating each layer before moving on. In the layer-wise setup, I tried loading the next layer’s weights ahead of time. I’m still figuring out what limits inference speed.

    I also came across Folding Language Models into Themselves. It made me wonder whether sharing weights between adjacent layers could cut memory traffic enough to speed up inference on a phone. Next I want to measure weight-loading time separately from scheduling overhead and test that idea. I’d also like to see whether one accelerator can fill in missing attention-cache entries after an early exit while another keeps generating.

    I was barely awake for my 8 a.m. class. I went back to my dorm to catch up on sleep and woke up at 11:30. At dinner at Lao Wu’s, I went through three bowls of rice.

  16. Working through the openEuler lab

    This afternoon I worked through questions for the openEuler lab, including how a Linux distribution relates to the kernel and hardware, and why command-line interfaces matter in the AI era. For the extension exercises, I planned to try disk-usage commands, links, user management, and file permissions, then take screenshots for my report.

    I asked about sort -h, symbolic and hard links, and the differences involved in using sudo and su. I also looked into installing Vim and enabling C syntax highlighting.

    I also continued working on accelerating Loop Transformer inference on edge devices.

  17. Keeping it short

    This morning I worked on a short personal summary, looking back on my studies, competitions, research, open-source projects, and student activities. I wanted it to be more concise, so I asked for a shorter version.

  18. Slow progress with Ouro

    I spent the morning learning about llama.cpp, with a plan to read the Codex implementation of Ouro 1.4B. I tried to get Ouro running quickly on my phone and looked into how to use OmniInfer, but it didn’t seem like a good fit to apply directly. The experiment is moving slowly, and I feel a bit lost. I’ve relied on vibe coding too much lately, and reading the llama.cpp source is difficult.

    Numerical Analysis is getting hard to follow, and I’ve been zoning out in class. I also forgot my Operating Systems homework again this morning, but caught up with it during class. In the evening, I worked on the computer networking lab, which was quite challenging too.

    Breakfast and dinner were both milk, baozi, and mantou. I had lunch at Mi Shifu and took a really comfortable hour-and-a-half nap afterward.

  19. Inspired by BLG

    I was too excited to fall asleep until around 2:30 a.m. A mosquito woke me at 5:30, so I got up and watched BLG win the three crucial games against Gen.G. I was so happy that I cried during Bin’s speech. To me, he seemed to have let go of the pressure of being the world’s best top laner while still playing like one. I was also impressed by Xia An’s fluent interpretation between Chinese, English, and Korean.

    It left me feeling inspired. Maybe I should work toward becoming the world’s best programmer too, haha.

    I went to get my laptop repaired at an official service shop in the morning. After the repair, it was no longer lagging, although I still noticed some throttling. Later, I reviewed Theory of Computation and Numerical Analysis and worked on a short video. Tonight I want to make some progress on my loop transformer research. I’ve spent a lot of time playing during Worlds; it’s time to get serious about studying again.

    The winning moment

    The official LoL Esports post captures the celebration:

    View the winning-moment photo in the official LoL Esports post.

    This week in words

    Weekly word cloud for November 9–15, 2026, highlighting Theory of Computation and loop, with diary, thermal paste, BLG and other selected themes. Font sizes reflect frequency tiers, with phrase variants combined.

    Words from this week’s diary entries, with common words and external posts left out.

  20. Troubleshooting my laptop

    Today I tried to figure out why my laptop had become slower after cleaning and replacing the thermal paste. Even everyday tasks were lagging, although the fans were running normally.

    I looked into the CPU’s thermal throttling reports and asked for help narrowing down the cause. At the time, I was still trying to narrow down the cause.

    Looking back, this started with a spur-of-the-moment decision to replace the thermal paste myself. I got the procedure and the type of paste wrong, which led to the slowdown.

    In the evening, I planned to go to an internet café in Guanggu and stay until 4 a.m. to watch BLG vs. Gen.G. But the café was full, and I was too sleepy, so I went back to the dorm to sleep instead.

  21. Getting back to studying

    I reviewed Theory of Computation today, and the homework was hard. I also learned a lot at today’s edge intelligence group meeting.

    I’ve been spending too much time playing League of Legends lately. It’s easy to keep playing, but I want to get back into studying and spend less time gaming.

  22. Loop transformer inference and edge devices

    I’ve been looking into ways to speed up inference for loop transformers. Today I tried several of these models on a phone, including runs with longer prompts and concurrent requests. I’m still working out where a speedup might come from.

    I’ve also been reviewing Theory of Computation.

    Over the next few days, I’m planning to make a video in the style of What If? using Codex and Code4D.

    We had freezing rain in Wuhan today. It was bitterly cold, and I wasn’t expecting the temperature to drop so fast.

    I’m also exploring whether a cloud assistant can take over my existing daily diary workflow. I want to test the process first, keeping the entries grounded in what I actually worked on rather than filling in gaps.

    Later, I got a small diary update published through the cloud workflow. I’ve now set up an evening diary routine and asked for a weekly word cloud from the entries.

  23. Reading about looped inference and revisiting 2-SAT

    I read a couple of papers on looped transformers. I wanted to understand how repeating the same layers affects inference time, where the serving overhead comes from, and what can run in parallel.

    For Theory of Computation, I went back over how to find a satisfying assignment for 2-SAT using an implication graph. I also worked through the reduction from 3-SAT to Max-2-SAT as part of my review of NP-completeness.

  24. Edge-device experiments, coursework, and a new keyboard

    I’ve been trying out the loop method on an edge device. I’ve also been reviewing material for my course on international networks.

    Outside of work, I’ve been a little obsessed with League of Legends lately. I also got a new keyboard that I really like.

  25. Tidying up the blog and starting a journal

    I’ve been tidying up my personal site. I can now browse the blog by topic or tag and search the full text of my notes. I added my Flow Matching notes so I can easily revisit the continuity equation and the derivation for conditional flows.

    GGgame got an update too. Both v1 and v2 are now playable from their own pages. This round also improved mobile controls and reconnection, and fixed an issue with duplicate requests to join a room.

    I started this journal today to jot down what I’m working on, how it’s going, and what I’ve learned. A few lines every few days should be enough to remember how things came together when I look back.